<!-- 本期团队盈亏-->
<template>
    <div>
        <h2 class="bill-title">本期团队盈亏</h2>
        <!-- 德州俱乐部游戏输赢 -->
        <el-table key="德州俱乐部游戏输赢" v-loading="loading" element-loading-spinner="el-icon-loading" size="mini"
            class="small-size-table" :data="[data]" border style="width: 100%; margin: 15px 0"
            :header-cell-style="getRowClass" highlight-current-row>
            <el-table-column align="center">
                <template slot-scope="scope">德州俱乐部</template>
            </el-table-column>
            <el-table-column prop="dxClubNetAmount" align="center" label="会员俱乐部游戏输赢">
                <template slot="header" slot-scope="{ column, $index }">
                    <span>
                        会员俱乐部游戏输赢
                    </span>
                </template>
                <template slot-scope="scope">
                    <FormItem :scope="scope" :updateData="updateData" />
                </template>
            </el-table-column>
            <el-table-column prop="dxSquidNetAmount" align="center" label="会员鱿鱼游戏输赢">
                <template slot="header" slot-scope="{ column, $index }">
                    <span>
                        会员鱿鱼游戏输赢
                    </span>
                </template>
                <template slot-scope="scope">
                    <FormItem :scope="scope" :updateData="updateData" />
                </template>
            </el-table-column>
            <el-table-column prop="serviceChargeRoundAmount" align="center" label="会员局服务费">
                <template slot="header" slot-scope="{ column, $index }">
                    <span>
                        会员局服务费
                        <el-tooltip class="item" effect="dark" content="汇总会员被收取的局服务费之和" placement="top-start">
                            <i class="el-icon-question"></i>
                        </el-tooltip>
                    </span>
                </template>
                <template slot-scope="scope">
                    <FormItem :scope="scope" :updateData="updateData" />
                </template>
            </el-table-column>
            <el-table-column prop="serviceChargeContributionRebateAmount" align="center" label="服务费贡献分成">
                <template slot="header" slot-scope="{ column, $index }">
                    <span>
                        服务费贡献分成
                        <el-tooltip class="item" effect="dark"
                            content="统计当期获得的俱乐部服务费贡献的分成金额公式：俱乐部服务费贡献*团队分成比例；公式仅作参考测算，测算结果不等同实际发放金额"
                            placement="top-start">
                            <i class="el-icon-question"></i>
                        </el-tooltip>
                    </span>
                </template>
                <template slot-scope="scope">
                    <FormItem :scope="scope" :updateData="updateData" />
                </template>
            </el-table-column>
            <el-table-column prop="dxClubTeamNetAmount" align="center" label="团队盈亏">
                <template slot="header" slot-scope="{ column, $index }">
                    <span>
                        团队盈亏
                        <el-tooltip class="item" effect="dark" content="公式=会员俱乐部游戏输赢+会员鱿鱼游戏输赢+会员局服务费+服务费贡献分成"
                            placement="top-start">
                            <i class="el-icon-question"></i>
                        </el-tooltip>
                    </span>
                </template>
                <template slot-scope="scope">
                    {{ aomunt(dxClubTeamNetAmount) }}
                </template>
            </el-table-column>
        </el-table>
        <!-- 德州俱乐部游戏输赢 end -->

        <!-- 德州保险&增值 -->
        <el-table key="德州保险&增值" v-loading="loading" element-loading-spinner="el-icon-loading" size="mini" border
            class="small-size-table" :data="[data]" style="width: 100%; margin: 15px 0" :header-cell-style="getRowClass"
            highlight-current-row>
            <el-table-column align="center">
                <template slot-scope="scope">
                    德州保险&增值
                </template>
            </el-table-column>
            <el-table-column prop="dxInsureNetAmount" align="center" label="保险投注输赢">
                <template slot="header" slot-scope="{ column, $index }">
                    <span>
                        保险投注输赢
                    </span>
                </template>
                <template slot-scope="scope">
                    <FormItem :scope="scope" :updateData="updateData" />
                </template>
            </el-table-column>
            <el-table-column prop="dxInsureRebateAmount" align="center" label="代理保险分成">
                <template slot="header" slot-scope="{ column, $index }">
                    <span>
                        代理保险分成
                        <el-tooltip class="item" effect="dark" content="	统计当期获得的会员保险投注输赢的分成金额
                                    公式：-（保险投注输赢*团队分成比例）；公式仅作参考测算，测算结果不等同实际发放金额" placement="top-start">
                            <i class="el-icon-question"></i>
                        </el-tooltip>
                    </span>
                </template>
                <template slot-scope="scope">
                    <FormItem :scope="scope" :updateData="updateData" />
                </template>
            </el-table-column>
            <el-table-column prop="valueAddedTotalAmount" align="center" label="会员增值服务消费">
                <template slot="header" slot-scope="{ column, $index }">
                    <span>
                        会员增值服务消费
                        <el-tooltip class="item" effect="dark" content="会员在德州场馆内因增值服务、商城、返利等功能引起的资金变动。"
                            placement="top-start">
                            <i class="el-icon-question"></i>
                        </el-tooltip>
                    </span>
                </template>
                <template slot-scope="scope">
                    <FormItem :scope="scope" :updateData="updateData" />
                </template>
            </el-table-column>
            <el-table-column prop="valueAddedTotalRebateAmount" align="center" label="增值服务消费分成">
                <template slot="header" slot-scope="{ column, $index }">
                    <span>
                        增值服务消费分成
                        <el-tooltip class="item" effect="dark" content="统计当期获得的会员增值服务消费的分成金额。" placement="top-start">
                            <i class="el-icon-question"></i>
                        </el-tooltip>
                    </span>
                </template>
                <template slot-scope="scope">
                    <FormItem :scope="scope" :updateData="updateData" />
                </template>
            </el-table-column>
            <el-table-column prop="dxInsureAndValueAddedTeamNetAmount" align="center" label="团队盈亏">
                <template slot="header" slot-scope="{ column, $index }">
                    <span>
                        团队盈亏
                        <el-tooltip class="item" effect="dark" content="公式：保险投注输赢+代理保险分成+会员增值服务消费+增值服务消费分成"
                            placement="top-start">
                            <i class="el-icon-question"></i>
                        </el-tooltip>
                    </span>
                </template>
                <template slot-scope="scope">
                    {{ aomunt(dxInsureAndValueAddedTeamNetAmount) }}
                </template>
            </el-table-column>
        </el-table>
        <!-- 德州保险&增值 end -->

        <!-- 德州俱乐部俱乐部服务费贡献 -->
        <el-table key="德州俱乐部俱乐部服务费贡献" border v-loading="loading" element-loading-spinner="el-icon-loading" size="mini"
            class="small-size-table" :data="[data]" style="width: 100%; margin: 15px 0" :header-cell-style="getRowClass"
            highlight-current-row>
            <el-table-column align="center">
                <template slot-scope="scope">德州俱乐部</template>
            </el-table-column>
            <el-table-column prop="serviceChargeContributionAmount" align="center" label="俱乐部服务费贡献">
                <template slot-scope="scope">
                    <FormItem :scope="scope" :updateData="updateData" />
                </template>
            </el-table-column>
            <el-table-column prop="dxInsureBetAmount" align="center" label="保险投注金额">
                <template slot-scope="scope">
                    <FormItem :scope="scope" :updateData="updateData" />
                </template>
            </el-table-column>
            <el-table-column prop="dxInsureValidBetAmount" align="center" label="保险有效投注">
                <template slot-scope="scope">
                    <FormItem :scope="scope" :updateData="updateData" />
                </template>
            </el-table-column>
        </el-table>
        <!-- 德州俱乐部俱乐部服务费贡献  end-->

        <el-table v-loading="loading" element-loading-spinner="el-icon-loading" size="mini" border
            class="small-size-table" :data="formatVenueData(data)" style="width: 100%; margin: 15px 0"
            :header-cell-style="getRowClass" highlight-current-row>
            <el-table-column prop="userName" align="center">
                <template slot-scope="scope">
                    {{ scope.row.label }}
                </template>
            </el-table-column>
            <el-table-column prop="NetAmount" align="center" label="会员游戏输赢">
                <template slot="header" slot-scope="{ column, $index }">
                    <span>
                        会员游戏输赢
                    </span>
                </template>
                <template slot-scope="scope">
                    <span v-if="scope.row.type === 'total'">
                        {{ aomunt(scope.row.netAmountSub) }}
                    </span>
                    <FormItem v-else :scope="scope" :updateData="updateData" />
                </template>
            </el-table-column>
            <el-table-column prop="NetRecalculationAdjustmentAmount" align="center" label="输赢重算调整">
                <template slot="header" slot-scope="{ column, $index }">
                    <span>
                        输赢重算调整
                        <el-tooltip class="item" effect="dark" content="统计当期因注单重算而导致的输赢金额调整" placement="top-start">
                            <i class="el-icon-question"></i>
                        </el-tooltip>
                    </span>
                </template>
                <template slot-scope="scope">
                    <span v-if="scope.row.type === 'total'">
                        {{ aomunt(scope.row.netRecalculationAdjustmentAmountSub) }}
                    </span>
                    <FormItem v-else :scope="scope" :updateData="updateData" />
                </template>
            </el-table-column>
            <el-table-column prop="RebateAmount" align="center" label="有效投注返点">
                <template slot="header" slot-scope="{ column, $index }">
                    <span>
                        有效投注返点
                        <el-tooltip class="item" effect="dark"
                            content="统计当期获得的有效投注返点金额; 公式：有效投注*团队返点比例；公式仅作参考测算，测算结果不等同实际发放金额" placement="top-start">
                            <i class="el-icon-question"></i>
                        </el-tooltip>
                    </span>
                </template>
                <template slot-scope="scope">
                    <span v-if="scope.row.type === 'total'">
                        {{ aomunt(scope.row.rebateAmountSub) }}
                    </span>
                    <FormItem v-else :scope="scope" :updateData="updateData" />
                </template>
            </el-table-column>
            <el-table-column prop="RebateRecalculationAdjustmentAmount" align="center" label="返点重算调整">
                <template slot="header" slot-scope="{ column, $index }">
                    <span>
                        返点重算调整
                        <el-tooltip class="item" effect="dark" content="统计当期因注单重算而导致的返点金额调整" placement="top-start">
                            <i class="el-icon-question"></i>
                        </el-tooltip>
                    </span>
                </template>
                <template slot-scope="scope">
                    <span v-if="scope.row.type === 'total'">
                        {{ aomunt(scope.row.rebateRecalculationAdjustmentAmountSub) }}
                    </span>
                    <FormItem v-else :scope="scope" :updateData="updateData" />
                </template>
            </el-table-column>
            <el-table-column prop="ActivityBonusAmount" align="center" label="其他收支项">
                <template slot="header" slot-scope="{ column, $index }">
                    <span>
                        其他收支项
                        <el-tooltip class="item" effect="dark" content="统计日期内会员的其他收支项，包含：真人打赏、电子活动奖金"
                            placement="top-start">
                            <i class="el-icon-question"></i>
                        </el-tooltip>
                    </span>
                </template>
                <template slot-scope="scope">

                    <span v-if="scope.row.type === 'total'">
                        {{ aomunt(activityBonusAmountSub) }}
                    </span>
                    <template v-else>
                        <FormItem :name="scope.row.type === 'zr' ? 'zrRewardAmount' : 'dyActivityBonusAmount'"
                            v-if="['zr', 'dy'].includes(scope.row.type)" :scope="scope" :updateData="updateData" />
                        <span v-else>
                            /
                        </span>
                    </template>
                </template>
            </el-table-column>
            <el-table-column prop="TeamNetAmount" align="center" label="团队盈亏">
                <template slot="header" slot-scope="{ column, $index }">
                    <span>
                        团队盈亏
                        <el-tooltip class="item" effect="dark" placement="top-start">
                            <div slot="content">
                                公式：会员游戏输赢+输赢重算调整+有效投注返点+返点重算调整+其他收支
                            </div>
                            <i class="el-icon-question"></i>
                        </el-tooltip>
                    </span>
                </template>
                <template slot-scope="{ row }">
                    <span v-if="row.type === 'total'">
                        {{ aomunt(row.teamNetAmountSub) }}
                    </span>
                    <span v-else>
                        {{ aomunt(row[`${row.type}TeamNetAmount`]) }}
                    </span>
                </template>
            </el-table-column>
        </el-table>
        <el-table v-loading="loading" element-loading-spinner="el-icon-loading" size="mini" border
            class="small-size-table" :data="[data]" style="width: 100%; margin: 15px 0" :header-cell-style="getRowClass"
            highlight-current-row>
            <el-table-column prop="tyValidBetAmount" align="center">
                <template slot-scope="scope"> 有效投注</template>
            </el-table-column>
            <el-table-column prop="tyValidBetAmount" align="center" label="体育">
                <template slot-scope="scope">
                    <FormItem :scope="scope" />
                </template>
            </el-table-column>
            <el-table-column prop="djValidBetAmount" align="center" label="电竞">
                <template slot-scope="scope">
                    <FormItem :scope="scope" />
                </template>
            </el-table-column>
            <el-table-column prop="qpValidBetAmount" align="center" label="棋牌">
                <template slot-scope="scope">
                    <FormItem :scope="scope" />
                </template>
            </el-table-column>
            <el-table-column prop="cpValidBetAmount" align="center" label="彩票">
                <template slot-scope="scope">
                    <FormItem :scope="scope" />
                </template>
            </el-table-column>
            <el-table-column prop="dyValidBetAmount" align="center" label="电子">
                <template slot-scope="scope">
                    <FormItem :scope="scope" />
                </template>
            </el-table-column>
            <el-table-column prop="zrValidBetAmount" align="center" label="真人">
                <template slot-scope="scope">
                    <FormItem :scope="scope" />
                </template>
            </el-table-column>
        </el-table>
        <el-table v-loading="loading" element-loading-spinner="el-icon-loading" size="mini" class="small-size-table"
            :data="[data]" border style="width: 100%; margin: 15px 0" :header-cell-style="getRowClass"
            highlight-current-row>
            <el-table-column align="center">
                <template slot-scope="scope">其他</template>
            </el-table-column>
            <el-table-column prop="memberRebateAddAmount" align="center" label="会员返水调整">
                <template slot="header" slot-scope="{ column, $index }">
                    <span>
                        会员返水调整
                    </span>
                </template>
                <template slot-scope="scope">
                    <FormItem :scope="scope" :updateData="updateData" />
                </template>
            </el-table-column>
            <el-table-column prop="memberAccountAdjustmentAmount" align="center" label="会员账户调整">
                <template slot="header" slot-scope="{ column, $index }">
                    <span>
                        会员账户调整
                    </span>
                </template>
                <template slot-scope="scope">
                    <FormItem :scope="scope" :updateData="updateData" />
                </template>
            </el-table-column>
            <el-table-column prop="proxyIncomeAmount" align="center" label="代理收入调整">
                <template slot="header" slot-scope="{ column, $index }">
                    <span>
                        代理收入调整
                    </span>
                </template>
                <template slot-scope="scope">
                    <FormItem :scope="scope" :updateData="updateData" />
                </template>
            </el-table-column>
            <el-table-column prop="proxyAccountAdjustmentAmount" align="center" label="代理账户调整">
                <template slot="header" slot-scope="{ column, $index }">
                    <span>
                        代理账户调整
                    </span>
                </template>
                <template slot-scope="scope">
                    <FormItem :scope="scope" :updateData="updateData" />
                </template>
            </el-table-column>
            <el-table-column prop="otherNetAmount" align="center" label="其他盈亏总计">
                <template slot="header" slot-scope="{ column, $index }">
                    <span>
                        其他盈亏总计
                        <el-tooltip class="item" effect="dark" placement="top-start">
                            <div slot="content">
                                汇总其他盈亏总额
                                <br />
                                公式：会员返水调整+会员账户调整+代理收入调整+代理账户调整
                            </div>
                            <i class="el-icon-question"></i>
                        </el-tooltip>
                    </span>
                </template>
                <template slot-scope="scope">
                    <span>
                        {{
                            handleNumber(
                                'USDT',
                                scope.row.otherNetAmount,
                                2
                            )
                        }}
                    </span>
                </template>
            </el-table-column>
        </el-table>
    </div>
</template>

<script>
import FormItem from './formItem.vue'
import mixin from './mixin.js'
import list from '@/mixins/list'
export default {
    components: {
        FormItem
    },
    mixins: [list, mixin],
    props: {
        data: {
            type: Object,
            default: {}
        }
    },
    data() {
        return {
            dialogTableData1: [{}]
        }
    },
    computed: {
        // 公式=会员俱乐部游戏输赢+会员鱿鱼游戏输赢+会员局服务费+服务费贡献分成
        dxClubTeamNetAmount() {
            const {
                dxClubNetAmount,
                dxSquidNetAmount,
                serviceChargeRoundAmount,
                serviceChargeContributionRebateAmount
            } = this.data

            if (!this.checkNums([
                dxClubNetAmount,
                dxSquidNetAmount,
                serviceChargeRoundAmount,
                serviceChargeContributionRebateAmount
            ])) return '/'

            return (
                dxClubNetAmount +
                dxSquidNetAmount +
                serviceChargeRoundAmount +
                serviceChargeContributionRebateAmount
            )
        },

        // 公式：保险投注输赢+代理保险分成+会员增值服务消费+增值服务消费分成
        dxInsureAndValueAddedTeamNetAmount() {
            const {
                dxInsureNetAmount,
                dxInsureRebateAmount,
                valueAddedTotalAmount,
                valueAddedTotalRebateAmount
            } = this.data
            if (!this.checkNums([
                dxInsureNetAmount,
                dxInsureRebateAmount,
                valueAddedTotalAmount,
                valueAddedTotalRebateAmount
            ])) return '/'

            return (
                dxInsureNetAmount +
                dxInsureRebateAmount +
                valueAddedTotalAmount +
                valueAddedTotalRebateAmount
            )
        },

        // 团队盈亏
        // 公式：会员游戏输赢 + 输赢重算调整 + 有效投注返点 + 返点重算调整 + 其他收支
        tyTeamNetAmount() {
            const { tyNetAmount, tyRebateAmount, tyRebateRecalculationAdjustmentAmount, tyNetRecalculationAdjustmentAmount } = this.data
            return this.calculateTotal([
                tyNetAmount,
                tyRebateAmount,
                tyRebateRecalculationAdjustmentAmount,
                tyNetRecalculationAdjustmentAmount
            ])
        },

        djTeamNetAmount() {
            const { djNetAmount, djRebateAmount, djNetRecalculationAdjustmentAmount, djRebateRecalculationAdjustmentAmount } = this.data
            return this.calculateTotal([
                djNetAmount,
                djRebateAmount,
                djNetRecalculationAdjustmentAmount,
                djRebateRecalculationAdjustmentAmount
            ])
        },

        qpTeamNetAmount() {
            const { qpNetAmount, qpRebateAmount, qpNetRecalculationAdjustmentAmount, qpRebateRecalculationAdjustmentAmount } = this.data
            return this.calculateTotal([
                qpNetAmount,
                qpRebateAmount,
                qpNetRecalculationAdjustmentAmount,
                qpRebateRecalculationAdjustmentAmount
            ])
        },

        cpTeamNetAmount() {
            const { cpNetAmount, cpRebateAmount, cpNetRecalculationAdjustmentAmount, cpRebateRecalculationAdjustmentAmount } = this.data
            return this.calculateTotal([
                cpNetAmount,
                cpRebateAmount,
                cpNetRecalculationAdjustmentAmount,
                cpRebateRecalculationAdjustmentAmount
            ])
        },

        dyTeamNetAmount() {
            const { dyNetAmount, dyRebateAmount, dyNetRecalculationAdjustmentAmount, dyRebateRecalculationAdjustmentAmount } = this.data
            return this.calculateTotal([
                dyNetAmount,
                dyRebateAmount,
                dyNetRecalculationAdjustmentAmount,
                dyRebateRecalculationAdjustmentAmount
            ])
        },

        zrTeamNetAmount() {
            const { zrNetAmount, zrRebateAmount, zrNetRecalculationAdjustmentAmount, zrRebateRecalculationAdjustmentAmount } = this.data
            return this.calculateTotal([
                zrNetAmount,
                zrRebateAmount,
                zrNetRecalculationAdjustmentAmount,
                zrRebateRecalculationAdjustmentAmount
            ])
        },

        netAmountSub() {
            const { tyNetAmount, djNetAmount, qpNetAmount, cpNetAmount, dyNetAmount, zrNetAmount } = this.data
            return this.calculateTotal([
                tyNetAmount,
                djNetAmount,
                qpNetAmount,
                cpNetAmount,
                dyNetAmount,
                zrNetAmount
            ])
        },
        netRecalculationAdjustmentAmountSub() {
            const {
                tyNetRecalculationAdjustmentAmount,
                djNetRecalculationAdjustmentAmount,
                qpNetRecalculationAdjustmentAmount,
                cpNetRecalculationAdjustmentAmount,
                dyNetRecalculationAdjustmentAmount,
                zrNetRecalculationAdjustmentAmount
            } = this.data
            return this.calculateTotal([
                tyNetRecalculationAdjustmentAmount,
                djNetRecalculationAdjustmentAmount,
                qpNetRecalculationAdjustmentAmount,
                cpNetRecalculationAdjustmentAmount,
                dyNetRecalculationAdjustmentAmount,
                zrNetRecalculationAdjustmentAmount
            ])
        },
        rebateAmountSub() {
            const {
                tyRebateAmount,
                djRebateAmount,
                qpRebateAmount,
                cpRebateAmount,
                dyRebateAmount,
                zrRebateAmount
            } = this.data
            return this.calculateTotal([
                tyRebateAmount,
                djRebateAmount,
                qpRebateAmount,
                cpRebateAmount,
                dyRebateAmount,
                zrRebateAmount
            ])
        },
        rebateRecalculationAdjustmentAmountSub() {
            const {
                tyRebateAmount,
                djRebateAmount,
                qpRebateAmount,
                cpRebateAmount,
                dyRebateAmount,
                zrRebateAmount
            } = this.data
            return this.calculateTotal([
                tyRebateAmount,
                djRebateAmount,
                qpRebateAmount,
                cpRebateAmount,
                dyRebateAmount,
                zrRebateAmount
            ])
        },
        // 其他收支
        activityBonusAmountSub() {
            const {
                dyActivityBonusAmount,
                zrRewardAmount
            } = this.data
            return this.calculateTotal([
                dyActivityBonusAmount,
                zrRewardAmount
            ])
        },

        teamNetAmountSub() {
            return this.calculateTotal([
                this.tyTeamNetAmount,
                this.djTeamNetAmount,
                this.qpTeamNetAmount,
                this.cpTeamNetAmount,
                this.dyTeamNetAmount,
                this.zrTeamNetAmount
            ])
        },
        // 其他盈亏总计
        // 公式：会员返水调整+会员账户调整+代理收入调整+代理账户调整
        otherNetAmount() {
            const { memberRebateAddAmount,
                memberAccountAdjustmentAmount,
                proxyIncomeAmount,
                proxyAccountAdjustmentAmount
            } = this.data
            return this.calculateTotal([
                memberRebateAddAmount,
                memberAccountAdjustmentAmount,
                proxyIncomeAmount,
                proxyAccountAdjustmentAmount
            ])
        }
    },

    mounted() {
        this.$emit('update:data', {
            ...this.data,
            ...{
                tyTeamNetAmount: this.tyTeamNetAmount,
                djTeamNetAmount: this.djTeamNetAmount,
                qpTeamNetAmount: this.qpTeamNetAmount,
                cpTeamNetAmount: this.cpTeamNetAmount,
                dyTeamNetAmount: this.dyTeamNetAmount,
                zrTeamNetAmount: this.zrTeamNetAmount,

                netAmountSub: this.netAmountSub,
                netRecalculationAdjustmentAmountSub: this.netRecalculationAdjustmentAmountSub,
                rebateAmountSub: this.rebateAmountSub,
                rebateRecalculationAdjustmentAmountSub: this.rebateRecalculationAdjustmentAmountSub,
                teamNetAmountSub: this.teamNetAmountSub,

                otherNetAmount: this.otherNetAmount
            }
        })
    },
    watch: {
        tyTeamNetAmount(val, old) {
            this.updateData(val, 'tyTeamNetAmount')
        },
        djTeamNetAmount(val, old) {
            this.updateData(val, 'djTeamNetAmount')
        },
        djNetRecalculationAdjustmentAmount(val, old) {
            this.updateData(val, 'djNetRecalculationAdjustmentAmount')
        },
        qpTeamNetAmount(val, old) {
            this.updateData(val, 'qpTeamNetAmount')
        },
        cpTeamNetAmount(val, old) {
            this.updateData(val, 'cpTeamNetAmount')
        },
        dyTeamNetAmount(val, old) {
            this.updateData(val, 'dyTeamNetAmount')
        },
        zrTeamNetAmount(val, old) {
            this.updateData(val, 'zrTeamNetAmount')
        },
        netAmountSub(val) {
            this.updateData(val, 'netAmountSub')
        },
        netRecalculationAdjustmentAmountSub(val) {
            this.updateData(val, 'netRecalculationAdjustmentAmountSub')
        },
        teamNetAmountSun(val) {
            this.updateData(val, 'teamNetAmountSun')
        },
        otherNetAmount(val) {
            this.updateData(val, 'otherNetAmount')
        }
    }
}
</script>
<style scoped>
.bill-title {
    text-align: center;
}
</style>
